export const colors = [
  'gray', 
  '#52c41a', 
  '#f5222d', 
  '#fa541c', 
  '#722ed1', 
  '#2f54eb', 
  'blue', 
  '#faad14', 
  'geekblue', 
  'magenta', 
  'volcano', 
  'gold', 
  'lime',
  '#FF5B00',
  '#00ADB5',
  '#F9ED69',
  '#F38181',
  '#AA96DA',
  '#FCBAD3',
];
// #
export function eachMap(a_map) {
  let arr = []
  for (let i in a_map) {
    let j = {
      id: Number(i),
      ...a_map[i]
    }
    // let j = {}
    arr.push(j)
  }
  return arr;
}

// 用户状态
export const userStatusList = [{
    id: 1,
    status: '#87d068',
    name: '正常',
  },
  {
    id: 2,
    status: 'red',
    name: '冻结',
  },
]

// 用户类型
export const userTypeList = [{
  id: 1,
  status: '#87d068',
  name: '管理员',
},
{
  id: 2,
  status: 'red',
  name: '客户',
},
]

export const statusList = [
  {
    id: 1,
    status: '#87d068',
    name: '成功',
  },
  {
    id: 2,
    status: 'red',
    name: '失败',
  },
]
export const msgStatusList = [
  {
    id: 0,
    status: '#999',
    name: '未提交',
  },
  {
    id: 1,
    status: '#87d068',
    name: '提交成功',
  },
  {
    id: 2,
    status: 'red',
    name: '提交失败',
  },
]
export const BalanceTypeList = [
  {
    id: 1,
    status: '#87d068',
    name: '加',
  },
  {
    id: 2,
    status: 'red',
    name: '减',
  },
]

// 模板类型
export const templateStatusList = [
  {
    id: 1,
    status: '#87d068',
    name: '正常',
  },
  {
    id: 2,
    status: 'blue',
    name: '审核中',
  },
  {
    id: 3,
    status: 'red',
    name: '审核拒绝',
  },
]
export const templateTypeList = [
  {
    id: 1,
    status: '#87d068',
    name: '通知类',
  },
  {
    id: 2,
    status: 'blue',
    name: '营销类型',
  },
  // {
  //   id: 3,
  //   status: 'red',
  //   name: '验证码类型	',
  // },
]

// 平台
export const platformList = [
  {
    id: 1,
    status: '#87d068',
    name: '网易云信',
  },
]
export const useList = [
  {
    id: 0,
    status: '#d9d9d9',
    name: '未使用',
  },
  {
    id: 1,
    status: '#87d068',
    name: '正在使用',
  },
]


export const signatureStatusList = [
  {
    id: 1,
    status: '#87d068',
    name: '正常',
  },
  {
    id: 2,
    status: '#f50',
    name: '审核中',
  },
  {
    id: 3,
    status: '#108ee9',
    name: '审核拒绝',
  },
]



export const signTypeList = [
  {
    id: 1,
    status: '#f50',
    name: '企业使用，签名用于自有产品',
    sort: '企业自有产品'
  },
  {
    id: 2,
    status: '#87d068',
    name: '企业使用，签名用于非自有产品',
    sort: '企业非自有产品'
  },
  // {
  //   id: 3,
  //   status: '#108ee9',
  //   name: '个人使用',
  // },
]


export const rechargeTypeList = [
  {
    id: 1,
    status: '#f50',
    name: '试用',
  },
  {
    id: 2,
    status: '#87d068',
    name: '线上充值',
  },
  {
    id: 3,
    status: '#108ee9',
    name: '线下充值',
  },
]


export const signSourceList = [
  {
    id: 'enterprises_and_institutions',
    status: '#f50',
    name: '企事业单位的全称或简称',
  },
  {
    id: 'website',
    status: '#87d068',
    name: '工信部备案网站的全称或简称',
  },
  {
    id: 'app',
    status: '#108ee9',
    name: 'APP应用的全称或简称',
  },
  {
    id: 'public_number_or_small_program',
    status: '#2db7f5',
    name: '公众号或小程序的全称或简称',
  },
  {
    id: 'store_name',
    status: 'geekblue',
    name: '电商平台店铺名的全称或简称',
  },
  {
    id: 'trade_name',
    status: 'magenta',
    name: '商标名的全称或简称',
  },
  {
    id: 'trade_name',
    status: 'magenta',
    name: '商标名的全称或简称',
  },
  {
    id: 'trade_name',
    status: 'magenta',
    name: '商标名的全称或简称',
  },
]


export const template_templateTypeList = [
  {
    id: 'notification',
    status: '#f50',
    name: '通知类短信',
  },
  {
    id: 'verification',
    status: '#87d068',
    name: '验证码短信',
  },
  {
    id: 'marketing',
    status: '#108ee9',
    name: '营销类短信',
  },
  {
    id: 'voice',
    status: '#2db7f5',
    name: '语音类短信',
  }
]


export const template_templateTypeList_Show = [
  {
    id: 'notification',
    status: '#f50',
    name: '通知类短信',
  },
  {
    id: 'verification',
    status: '#87d068',
    name: '验证码短信',
  },
  {
    id: 'marketing',
    status: '#108ee9',
    name: '营销类短信',
  },
  {
    id: 'voice',
    status: '#2db7f5',
    name: '语音类短信',
  },
  {
    id: 'verification_pro',
    status: '#2db7f5',
    name: '语音类短信-Pro',
  },
  {
    id: 'marketing_pro',
    status: '#2db7f5',
    name: '语音类短信-Pro',
  },
]


export const isOverseaList = [
  {
    id: 0,
    status: '#f50',
    name: '国内短信',
  },
  {
    id: 1,
    status: '#87d068',
    name: '国际/港澳台短信',
  },
]

